TF2DPointList
Unit:sgLists
Description
TF2DPointList
stores an array of two-dimensional points.
Syntax
type TF2DPointList = class(TsgBaseList, IsgCollectionF2DPoint, IsgArrayFPoint)
Properties
Properties | Description |
---|---|
First | The property indicates the first item in the list. |
Items | The property lists the object references. |
Last | The property indicates the last item in the list. |
List | The property indicates the last item in the list. |
Properties derived from TsgBaseList | Description |
---|---|
Capacity | The property specifies the allocated size of the array of pointers maintained by the TsgBaseList object. |
Count | The property indicates the number of entries in the list that are in use. |
Dublicates | The property specifies how to handle items with same values. |
ListType | The property specifies the type of elements maintained by the list. |
ProcCompare | The property specifies the procedure used to compare items in the list. |
Sorted | The property indicates whether the items are sorted or not. |
Methods
Methods | Description |
---|---|
Add | The method inserts a new item at the end of the list. |
AppendArray | The method appends a specified list to this list. |
AssignArray | The methods copies an array of single-precision floating point numbers to this list. |
IndexOf | The method returns the index of the first entry in the Items array with a specified value. |
Insert | The method adds an object to the Items array at the position specified by Index . |
Methods derived from TsgBaseList | Description |
---|---|
AppendDynArray | The method appends a dynamic array to the list. |
Assign | The method copies elements of another list to this one. |
Clear | The method deletes all items from the list. |
CopyFrom | The method copies data from a specified list to this list. |
CopyTo | The method copies data from this list to a specified list. |
Create | The method creates a new list and initializes its data. |
Delete | The method removes the item(s) at a specific position from the list. |
Destroy | The method destroys an instance of TsgBaseList. |
FillChar | The method is for internal use. |
Flip | The method performs mirrored rearrangement of the items. |
High | The method returns the index of last item in the list. |
IsEqual | The method checks whether this list and a specified list are equal. |
IsItemsUnique | The method checks whether the Items array contains unique data set. |
Sort | The method performs a sort on the list. |
SwapItems | The method swaps two items in the list. |